/**
 * File: BulkVelvetController.java
 * Created by: mhaimel
 * Created on: 23 Jul 2009
 * CVS:  $Id: BulkVelvetController.java,v 1.1 2009/08/05 15:16:13 mhaimel Exp $
 */
package uk.ac.ebi.curtain.controller.velvet;

import uk.ac.ebi.curtain.controller.ParallelQueuedController;
import uk.ac.ebi.curtain.controller.SimpleReport;
import uk.ac.ebi.curtain.management.IControllerReport;
import uk.ac.ebi.curtain.processor.velvet.impl.BulkVelvetProcessor;

/**
 * @author mhaimel
 *
 */
public class BulkVelvetController extends ParallelQueuedController<VelvetInputBean, VelvetOutputBean, BulkVelvetProcessor> {

	
	public BulkVelvetController() {
		super();
	}

	@Override
	protected IControllerReport getReturnCall() {
		return new SimpleReport("Finished");
	}

	@Override
	protected BulkVelvetProcessor buildController() {
		BulkVelvetProcessor job = getContext().getInjector().getInstance(BulkVelvetProcessor.class);
		return job;
	}
}
